/* ==========================================
   GARY KARIBYAN — INDUSTRIAL GOTHIC
   WordPress Twenty Eleven
   ========================================== */

/* 1. GLOBAL TYPOGRAPHY */

body {
    background-color: #101012;
    color: #c7bfbd;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    color: #e4d9d5;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3;
}

a {
    color: #d7a0a7;
    text-underline-offset: 4px;
}

a:hover,
a:focus {
    color: #f0c5c8;
}

/* 2. INDUSTRIAL BACKGROUND
   Keep the background image configured
   in Appearance > Customize.
*/

#page {
    background: transparent;
    border: 0;
    box-shadow: none;
}

#main,
#primary,
#content {
    background: transparent;
}

#content {
    color: #c7bfbd;
}

#content p,
#content li {
    color: #c7bfbd;
    line-height: 1.8;
}

/* 3. HEADER */

#branding {
    background: rgba(15, 13, 15, 0.78);
    border-top: 0;
    border-bottom: 0;
}

#site-title a {
    color: #e4d9d5;
    text-decoration: none;
}

#site-description {
    color: #bba9a9;
}

/* Hide Twenty Eleven's search on the header */
#branding #searchform {
    display: none;
}

/* 4. NAVIGATION */

#access {
    background: #211e21;
    border-top: 1px solid #49363b;
    border-bottom: 1px solid #49363b;
    box-shadow: none;
    margin-bottom: 0;
}

#access a {
    color: #d7ccca;
    text-decoration: none;
    letter-spacing: 0.04em;
}

#access a:hover,
#access li.current_page_item > a,
#access li.current-menu-item > a {
    color: #e4a4ad;
}

/* 5. PAGE AND BLOG CONTENT */

body:not(.home) #content .hentry {
    background: rgba(18, 16, 18, 0.91);
    padding: 28px;
    box-sizing: border-box;
}

.entry-title,
.entry-title a,
#content h1,
#content h2,
#content h3 {
    color: #e4d9d5;
}

.entry-title a {
    text-decoration: none;
}

#content a {
    color: #d7a0a7;
}

#content a:hover {
    color: #f0c5c8;
}

blockquote {
    border-left: 3px solid #96505b;
    padding-left: 1.25em;
    color: #d0c2c0;
}

/* 6. CURATED HOMEPAGE */

.author-home {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 24px 50px;
    background: transparent;
    box-sizing: border-box;
}

.home .entry-title {
    display: none !important;
}

/* Homepage introduction */

.author-hero {
    text-align: center;
    padding: 65px 25px 75px;
    margin: 0 0 45px;
    background: #252124;
    border-bottom: 2px solid #75434b;
}

.author-kicker {
    color: #bd858e !important;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.author-hero h1 {
    color: #e2d8d4 !important;
    font-size: clamp(38px, 6vw, 64px);
    margin: 15px 0;
}

.author-tagline {
    color: #c49aa0 !important;
    font-size: 22px;
    font-style: italic;
}

.author-intro,
.author-section-intro {
    max-width: 650px;
    margin: 20px auto 28px;
    color: #c7bfbd !important;
}

/* 7. BUTTONS */

button,
.wp-block-button__link,
input[type="submit"],
.author-button {
    background: #75404a;
    border: 1px solid #a66a75;
    border-radius: 2px;
    color: #fff !important;
    padding: 12px 22px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.author-button {
    display: inline-block;
    padding: 13px 24px;
    letter-spacing: 1px;
    font-size: 13px;
}

button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.author-button:hover {
    background: #92515d;
    color: #fff !important;
}

/* 8. FEATURED STORIES */

.author-stories {
    padding: 25px 0 50px;
    text-align: center;
}

.author-stories h2,
.author-about h2 {
    color: #e2d8d4 !important;
    font-size: 32px;
    margin-bottom: 10px;
}

.author-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
    text-align: left;
}

.author-story {
    padding: 25px;
    background: #252124;
    border-top: 2px solid #75434b;
}

.author-story h3 {
    color: #ded3cf !important;
    font-size: 21px;
}

.author-story p {
    color: #c7bfbd !important;
    font-size: 15px;
}

.author-story a,
.author-text-link {
    color: #cf969f !important;
    text-decoration: none;
}

.author-all-stories {
    margin-top: 35px;
}

/* 9. ABOUT THE AUTHOR */

.author-about {
    padding: 45px 25px;
    background: #252124;
    text-align: center;
    border-top: 1px solid #49343a;
}

.author-about > p:not(.author-kicker) {
    max-width: 620px;
    margin: 15px auto;
    color: #c7bfbd !important;
}

/* 10. SIDEBAR AND FOOTER */

#secondary {
    color: #c7bfbd;
}

#secondary h3 {
    color: #e4d9d5;
}

#colophon {
    background: rgba(15, 13, 15, 0.88);
    border-top: 1px solid #533038;
    color: #b8afb0;
}

#site-generator {
    color: #a99a9a;
}

/* 11. IMAGES */

img {
    border-radius: 3px;
}

/* 12. MOBILE RESPONSIVENESS */

@media (max-width: 700px) {

    .author-home {
        padding: 12px;
    }

    .author-hero {
        padding: 40px 15px 45px;
    }

    .author-story-grid {
        grid-template-columns: 1fr;
    }

    body:not(.home) #content .hentry {
        padding: 18px;
    }

    .author-hero h1 {
        font-size: 38px;
    }

    .author-tagline {
        font-size: 18px;
    }
}


/* Hide the old Twenty Eleven header image */
#branding > a > img {
    display: none !important;
}

/* Reduce header spacing */
#branding {
    padding-bottom: 0 !important;
}


/* Industrial Gothic - compact header spacing */

#branding {
    padding-bottom: 0 !important;
}

#branding hgroup {
    padding-bottom: 12px;
}

#access {
    margin-top: 0 !important;
}

/* Bring homepage content closer to navigation */
.home #main {
    padding-top: 10px;
}

.home .author-home {
    padding-top: 10px;
}


/* Compact Twenty Eleven header */

#branding hgroup {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

#branding #site-title {
    padding-top: 0 !important;
}

#branding #site-description {
    margin-bottom: 0 !important;
}

/* Reduce space above homepage content */

.home #main {
    padding-top: 0 !important;
}

.home #content {
    padding-top: 0 !important;
}

.home .author-home {
    padding-top: 0 !important;
}


/* Refine homepage introduction spacing */

.home #main {
    padding-top: 0 !important;
}

.home #content {
    padding-top: 0 !important;
}

.home .author-home {
    padding-top: 0 !important;
}

.home .author-hero {
    padding-top: 40px;
    padding-bottom: 50px;
}


/* ====================================
   INDUSTRIAL GOTHIC — BLOG REFINEMENTS
   ==================================== */

/* Darker reading surface for blog posts */
.blog #content .hentry,
.archive #content .hentry,
.single #content .hentry {
    background: rgba(18, 16, 18, 0.96);
}

/* Improve article text contrast */
#content .entry-content p,
#content .entry-content li {
    color: #d0c9c7;
}

/* Make image captions readable */
#content .wp-caption-text,
#content figcaption,
#content .wp-element-caption {
    color: #bfb3b4;
    font-size: 14px;
    line-height: 1.6;
}

/* Style sidebar as a dark panel */
#secondary {
    background: rgba(18, 16, 18, 0.88);
    padding: 20px;
    box-sizing: border-box;
}

/* Sidebar headings */
#secondary h3,
#secondary .widget-title {
    color: #e0c9ca;
}

/* Mobile layout */
@media (max-width: 700px) {
    #secondary {
        padding: 15px;
    }
}


/* ABOUT ME — fix white WordPress Group block */

.page-id-117 .entry-content
.wp-block-group.has-white-background-color {
    background-color: #252124 !important;
}

/* Make text readable on dark background */
.page-id-117 .entry-content
.wp-block-group.has-white-background-color p {
    color: #ded6d2 !important;
}

/* Preserve photograph */
.page-id-117 .entry-content img {
    max-width: 100%;
    height: auto;
}


/* ==========================================
   ABOUT ME — FIX WHITE BIOGRAPHY BLOCK
   ========================================== */

/* Target the exact white Group block */
.entry-content .wp-block-group.alignfull.has-white-background-color {
    background-color: #252124 !important;
    background-image: none !important;
}

/* Override the block's black text setting */
.entry-content .wp-block-group.alignfull.has-white-background-color,
.entry-content .wp-block-group.alignfull.has-white-background-color p,
.entry-content .wp-block-group.alignfull.has-white-background-color li {
    color: #ded6d2 !important;
}

/* Preserve author photograph */
.entry-content .wp-block-group.alignfull img {
    max-width: 100%;
    height: auto;
}


/* ==========================================
   ABOUT ME — FIX NESTED WHITE BACKGROUNDS
   ========================================== */

/* Target white blocks inside the biography */
.entry-content
.wp-block-group.has-white-background-color,
.entry-content
.wp-block-group.has-white-background-color .wp-block-columns,
.entry-content
.wp-block-group.has-white-background-color .wp-block-column,
.entry-content
.wp-block-group.has-white-background-color .wp-block-group__inner-container {
    background-color: #252124 !important;
}

/* Fix light text and inherited colours */
.entry-content
.wp-block-group.has-white-background-color p,
.entry-content
.wp-block-group.has-white-background-color li,
.entry-content
.wp-block-group.has-white-background-color .has-text-color {
    color: #ded6d2 !important;
}

/* Override nested white-background utility classes */
.entry-content
.wp-block-group.has-white-background-color
.has-white-background-color {
    background-color: #252124 !important;
}


/* ABOUT ME — final background cleanup */

/* Remove background from inner columns */
body.page .entry-content
.wp-block-group.alignfull
.wp-block-columns,
body.page .entry-content
.wp-block-group.alignfull
.wp-block-column {
    background-color: transparent !important;
}

/* Remove background from main Gutenberg group */
body.page .entry-content
.wp-block-group.alignfull {
    background-color: transparent !important;
}

/* Improve biography typography */
body.page .entry-content
.wp-block-columns p {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #ded6d2 !important;
}


/* ABOUT ME — unify backgrounds and spacing */

/* Remove background from inner content blocks */
body.page .entry-content .wp-block-group,
body.page .entry-content .wp-block-columns,
body.page .entry-content .wp-block-column {
    background: transparent !important;
    box-shadow: none !important;
}

/* Improve biography readability */
body.page .entry-content .wp-block-column p {
    font-size: 17px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    color: #ded6d2 !important;
}

/* Homepage — final visual refinements */

.home .author-hero {
    background: rgba(25, 22, 25, 0.94) !important;
}

.home #main {
    padding-top: 0 !important;
}

.home .author-home {
    padding-top: 0 !important;
}

.home .author-hero {
    padding-top: 40px;
    padding-bottom: 45px;
}


/* Reduce unnecessary spacing */
body.page .entry-content .wp-block-columns {
    gap: 32px !important;
}

/* Maintain responsive layout */
@media (max-width: 700px) {
    body.page .entry-content .wp-block-columns {
        flex-direction: column;
    }
}


/* Homepage — final visual refinements */

.home .author-hero {
    background: rgba(25, 22, 25, 0.94) !important;
}

.home #main {
    padding-top: 0 !important;
}

.home .author-home {
    padding-top: 0 !important;
}

.home .author-hero {
    padding-top: 40px;
    padding-bottom: 45px;
}


/* INDUSTRIAL GOTHIC — CONSISTENT CONTENT PANELS */

/* Standardize page and article backgrounds */
body:not(.home) #content .hentry {
    background: rgba(18, 16, 18, 0.88) !important;
}

/* Remove extra backgrounds inside About Me */
body.page .entry-content .wp-block-group,
body.page .entry-content .wp-block-columns,
body.page .entry-content .wp-block-column {
    background-color: transparent !important;
    background-image: none !important;
}

/* Keep biography text readable */
body.page .entry-content .wp-block-column p {
    color: #ded6d2 !important;
}

/* Match blog sidebar to article panels */
#secondary {
    background: rgba(18, 16, 18, 0.88) !important;
}