/**
 * Awakening Now Custom Styles
 * Replicating Builder Child - Astro Theme Design
 * 
 * This CSS recreates the visual design from the original site
 * to be used with Twenty Twenty-Four theme
 */

/* ========================================
   GLOBAL STYLES & COLORS
   ======================================== */

body {
    background-color: #d5d098;
    color: #222;
    font-family: "Helvetica Neue", "Nimbus Sans L", Arial, Helvetica, sans-serif;
    font-size: 75%;
    line-height: 1.5;
}

/* Selection Highlight */
::selection {
    background: #3EB8F6;
    color: #262626;
}

::-moz-selection {
    background: #3EB8F6;
    color: #262626;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    color: #111;
    font-weight: bold;
}

h1 {
    font-size: 2em;
    line-height: 1.5;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.7em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.2em;
}

h5, h6 {
    font-size: 1em;
}

/* ========================================
   LINKS
   ======================================== */

a {
    color: #259bff;
    text-decoration: none;
}

a:hover {
    color: #262626;
    text-decoration: underline;
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */

.wp-site-blocks {
    max-width: 1200px;
    margin: 2em auto;
    padding: 0 1em;
}

/* ========================================
   HEADER
   ======================================== */

.wp-block-template-part.site-header {
    background: transparent;
    margin-bottom: 1em;
}

.site-title a {
    color: #262626;
    text-decoration: none;
    font-size: 3em;
    font-weight: bold;
}

.site-title a:hover {
    color: #259bff;
}

/* ========================================
   NAVIGATION
   ======================================== */

.has-base-background-color {
    background-color: #d5d098 !important;
}

.wp-block-navigation {
    /* background: #fff; */
    border-top: 0.1em solid #ffffff;
    border-radius: 0;
}

.wp-block-navigation-item a {
    color: #262626 !important;
    font-weight: bold;
    font-size: 1.8em;
    padding: 0.5em 1em;
    text-decoration: none;
}

.wp-block-navigation-item a:hover,
.wp-block-navigation-item.current-menu-item a {
    background: #d5d098;
    color: #000 !important;
    border-radius: 0 0 0 0;
    text-decoration: none;
}

/* Dropdown Menus */
.wp-block-navigation__submenu-container {
    background: #fff;
    border: 1px solid #000;
    border-radius: 0 0 10px 10px;
}

.wp-block-navigation__submenu-container a:hover {
    background: #f6cb3e;
    color: #fff !important;
}

/* ========================================
   CONTENT AREA
   ======================================== */

.wp-block-site-title {
    display: none !important;
}

.entry-content {
    background: #fff;
    padding: 2em;
    border-radius: 0.5em;
    box-shadow: 1px 2px 2px #999;
}

/* Post Titles */
.entry-title,
.wp-block-post-title {
    color: #262626;
    font-size: 4.5em;
    line-height: 1em;
    text-shadow: 0.03em 0.03em 0.05em #999;
    margin: 0 0 0.2em 0;
    letter-spacing: -1px;
}

.entry-title a,
.wp-block-post-title a {
    color: #262626;
    text-decoration: none;
}

.entry-title a:hover,
.wp-block-post-title a:hover {
    color: #777;
    text-shadow: 0.03em 0.03em 0.05em #AAA;
    text-decoration: none;
}

/* Post Meta */
.entry-meta,
.wp-block-post-date,
.wp-block-post-author {
    background: linear-gradient(to bottom, #71D3FE, #3AB8F6);
    color: #fff;
    font-size: 1.75em;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 0.333em;
    text-shadow: 0 -1px 0 #3193C4;
    margin: 0.9em 0;
    display: inline-block;
}

.entry-meta a,
.wp-block-post-date a,
.wp-block-post-author a {
    color: #fff;
    text-decoration: none;
}

.entry-meta a:hover,
.wp-block-post-date a:hover,
.wp-block-post-author a:hover {
    color: #262626;
    text-shadow: 0 1px 0 #3EB8F6;
    text-decoration: none;
}

/* ========================================
   SIDEBAR & WIDGETS
   ======================================== */

.wp-block-group.is-style-sidebar-widget,
.widget,
aside .wp-block-group {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75em;
    padding: 0;
    margin-bottom: 1.5em;
    box-shadow: 1px 2px 2px #666;
    overflow: hidden;
}

.wp-block-group.is-style-sidebar-widget h2,
.wp-block-group.is-style-sidebar-widget h3,
.widget h2,
.widget h3,
aside .wp-block-group h2,
aside .wp-block-group h3 {
    background: linear-gradient(to bottom, #454545, #262626);
    color: #fff;
    font-size: 2.3em;
    line-height: 1.304;
    padding: 0.326em 0.5em;
    margin: 0 0 0.5em 0 !important;
    border-radius: 0.326em 0.326em 0 0;
    text-shadow: 0 -1px 1px #262626;
}

.wp-block-group.is-style-sidebar-widget .wp-block-group__inner-container,
.widget .widget-content,
aside .wp-block-group .wp-block-group__inner-container {
    padding: 0.75em;
}

/* Widget Lists */
.widget ul,
aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li,
aside li {
    padding: 0.3em 0;
    border-bottom: 1px solid #E6E3DC;
}

.widget li:last-child,
aside li:last-child {
    border-bottom: none;
}

/* ========================================
   IMAGES
   ======================================== */

.wp-block-image img,
.entry-content img,
img {
    border: 1px solid #CFCFCF;
    background: #FDFCFC;
    padding: 5px;
    border-radius: 3px;
    max-width: 100%;
    height: auto;
}

/* Remove border from logo/header images */
.site-logo img,
.wp-block-site-logo img {
    border: none;
    background: transparent;
    padding: 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button,
.button {
    background: linear-gradient(to bottom, #3EB8F6, #3193C4) !important;
    color: #fff !important;
    border: none;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    font-size: 1.3em;
    text-shadow: 0 -1px 0 #3193C4;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button:hover,
.button:hover {
    background: linear-gradient(to bottom, #57C6FF, #3193C4) !important;
    text-decoration: none;
    color: #fff !important;
}

/* ========================================
   FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
    background: #fff;
    border: 1px solid #999;
    border-radius: 0.5em;
    padding: 5px;
    box-shadow: 1px 2px 2px #666;
    width: 100%;
    max-width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #666;
    outline: none;
}

/* Search Form */
.wp-block-search__input {
    border: 1px solid #999;
    border-radius: 0.5em;
    padding: 5px;
}

/* ========================================
   COMMENTS
   ======================================== */

.comment-list .comment {
    background: #fff;
    border-radius: 0.5em;
    padding: 1.5em;
    margin: 1.5em 0;
    box-shadow: 1px 2px 2px #666;
    border: 1px solid #999;
}

.comment-list .depth-2,
.comment-list .depth-4 {
    background: #FAFAFA;
}

.comment-author {
    font-weight: bold;
    color: #262626;
}

.comment-meta {
    color: #666;
    font-size: 0.9em;
}

/* ========================================
   BLOCKQUOTES
   ======================================== */

blockquote,
.wp-block-quote {
    color: #666;
    font-style: italic;
    margin: 1.5em 2em;
    padding: 1em 2em;
    border-left: 4px solid #3EB8F6;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5em;
}

blockquote p,
.wp-block-quote p {
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.wp-block-template-part.site-footer {
    background: transparent;
    color: #262626;
    padding: 1.5em 0;
    margin-top: 2em;
    border-top: 1px solid #999;
}

.wp-block-template-part.site-footer a {
    color: #259BFF;
    text-decoration: none;
}

.wp-block-template-part.site-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   SOCIAL MEDIA TABS (Fixed Sidebar)
   ======================================== */

#social-tags-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

#social-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#social-tags a {
    display: block;
    position: relative;
    right: -50px;
    transition: right 0.3s ease;
}

#social-tags a:hover {
    right: 0;
}

#social-tags img {
    width: 95px;
    height: auto;
    display: block;
}

/* ========================================
   AUDIO PLAYER
   ======================================== */

.wp-block-audio {
    margin: 1.5em 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 1em;
    border-radius: 0.5em;
    box-shadow: 1px 2px 2px #666;
}

.wp-block-audio audio {
    width: 100%;
}

/* ========================================
   VIDEO EMBEDS
   ======================================== */

.wp-block-embed {
    margin: 1.5em 0;
}

.wp-block-embed iframe {
    border-radius: 0.5em;
    box-shadow: 1px 2px 2px #666;
}

/* ========================================
   TABLES
   ======================================== */

table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
}

th {
    background: linear-gradient(to bottom, #454545, #262626);
    color: #fff;
    padding: 0.5em;
    text-align: left;
    font-weight: bold;
}

td {
    padding: 0.5em;
    border: 1px solid #999;
}

tr:nth-child(even) {
    background: #FAFAFA;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    body {
        font-size: 85%;
    }
    
    .entry-title,
    .wp-block-post-title {
        font-size: 2.5em;
    }
    
    .wp-block-navigation-item a {
        font-size: 1.4em;
        padding: 0.4em 0.8em;
    }
    
    #social-tags-wrapper {
        display: none; /* Hide social tabs on mobile */
    }
    
    .wp-site-blocks {
        margin: 1em auto;
    }
}

@media (max-width: 480px) {
    .entry-title,
    .wp-block-post-title {
        font-size: 2em;
    }
    
    .wp-block-navigation-item a {
        font-size: 1.2em;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.margin-top {
    margin-top: 1.5em;
}

.margin-bottom {
    margin-bottom: 1.5em;
}

.padding {
    padding: 1.5em;
}

/* ========================================
   WORDPRESS CORE OVERRIDES
   ======================================== */

/* Remove Twenty Twenty-Four default styles that conflict */
.wp-block-post-content {
    margin-top: 0;
}

.wp-block-group {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Ensure proper spacing */
.entry-content > * + * {
    margin-top: 1.5em;
}

/* Fix alignment */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
