﻿/*
Theme Name:   Thyrsos
Template:     astra
Theme URI:    https://webunicorn.gr
Description:  Child theme for Thyrsos
Author:       Romanos
Author URI:   https://webunicorn.gr
Version:      1.0.0

*/

/* Import parent theme styles if needed */

/* General Style */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: transparent;
}
div#page {
    background-image: url(https://keen-volhard.213-158-90-26.plesk.page/wp-content/uploads/2025/06/athena-thyrsos-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
div#secondary
 {
    background-color: #7b030fe3;
    position:relative;
}
.sidebar-main {
    /*display: flex;
    align-content: center;*/
}
aside.widget {
    margin: 2rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-content: center;
}
div#secondary:after {
    content: "";
    height: 527px;
    width: 186px;
    background-image: url(https://keen-volhard.213-158-90-26.plesk.page/wp-content/uploads/2025/06/thirsos-small.png);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: -64px;
    right: -72px;
    pointer-events: none;
}

@media (max-width: 1260px) {
    div#secondary:after {
        right: -32px;
        width: 140px;
        height: 420px;
    }
}

@media (max-width: 992px) {
    div#secondary:after {
        content: none;
    }
}
/* Blog */

.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single:not(.ast-related-post), .woocommerce.ast-separate-container .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, .single.ast-separate-container .site-main .ast-author-meta, .ast-separate-container .related-posts-title-wrapper, .ast-separate-container .comments-count-wrapper, .ast-box-layout.ast-plain-container .site-content, .ast-padded-layout.ast-plain-container .site-content, .ast-separate-container .ast-archive-description, .ast-separate-container .comments-area {
    background-color: #f6f6f6e6;
}
.ast-separate-container.ast-two-container #secondary .widget{
    background-color:transparent;
}
.nav-links a > * , .nav-links a {
    color: wheat;}

/* Footer */
.ast-footer-copyright p {
    margin-bottom: 0;
    font-size: 14px;
}
footer#colophon:after {
    content: "";
    display: block;
    background-image: url(https://keen-volhard.213-158-90-26.plesk.page/wp-content/uploads/2025/06/triskelion.png);
    background-repeat: no-repeat;
    width: 256px;
    height: 256px;
    position: absolute;
    top: -125px;
    left: 0;
    z-index:9;
}
footer#colophon{
    position:relative;
}
.ast-builder-footer-grid-columns.site-above-footer-inner-wrap.ast-builder-grid-row {
    z-index: 10;
    position: relative;
}
/* Responsive */

/* Home Sections Template Layout Tweaks */
.page-template-thyrsos-home-sections .site-main {
    padding-top: 0;
}

.page-template-thyrsos-home-sections .thyrsos-home-intro {
    max-width: 960px;
    margin: 0 auto 2.5rem;
}

.page-template-thyrsos-home-sections .thyrsos-home-intro > *:first-child {
    margin-top: 0;
}

.page-template-thyrsos-home-sections .thyrsos-home-intro > *:last-child {
    margin-bottom: 0;
}

    @media (min-width: 993px) {
    .ast-right-sidebar #secondary {
       padding-left: 0px;
    }
}
@media (max-width: 921px) {
    .ast-separate-container .ast-blog-layout-5-grid .post-content {
        padding: 1rem !important;
    }
footer#colophon:after {
        opacity: 0.3;
}
}
/* Home Sections Template */
.thyrsos-home-sections {
    display: grid;
    gap: 4rem;
  
}

.thyrsos-home-section {
    background: rgba(247, 244, 239, 0.95);
    border: 1px solid rgba(82, 47, 26, 0.15);
    border-radius: 24px;
    box-shadow: 0 22px 52px rgba(22, 12, 6, 0.16);
    padding: 3rem 3.25rem;
    backdrop-filter: blur(2px);
}

.thyrsos-home-section__header {
    margin-bottom: 2.5rem;
    border-left: 4px solid #8d2f1c;
    padding-left: 1.5rem;
}

.thyrsos-home-section__title {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.thyrsos-home-section__description {
    margin-top: 0.6rem;
    color: rgba(32, 18, 12, 0.68);
    font-style: italic;
    max-width: 68ch;
}

.thyrsos-home-section__grid {
    display: grid;
    gap: 2.75rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.thyrsos-home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(140, 101, 48, 0.16);
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(58, 34, 17, 0.15);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thyrsos-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 56px rgba(58, 34, 17, 0.24);
}

.thyrsos-home-card__media {
    position: relative;
    background: linear-gradient(135deg, rgba(141, 47, 28, 0.9), rgba(27, 13, 4, 0.88));
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thyrsos-home-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.32) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.thyrsos-home-card:hover .thyrsos-home-card__media::after {
    opacity: 1;
}

.thyrsos-home-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thyrsos-home-card__media--placeholder .thyrsos-home-card__placeholder {
    font-size: 3.25rem;
    color: rgba(255, 255, 255, 0.65);
}

.thyrsos-home-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem;
    flex: 1 1 auto;
}

.thyrsos-home-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(141, 47, 28, 0.78);
}

.thyrsos-home-card__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(141, 47, 28, 0.09);
    color: rgba(91, 38, 24, 0.95);
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 10px;
}

.thyrsos-home-card__divider {
    opacity: 0.4;
}

.thyrsos-home-card__category {
    font-size: 0.76rem;
    color: rgba(27, 13, 4, 0.6);
    letter-spacing: 0.14em;
}

.thyrsos-home-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(32, 18, 12, 0.9);
}

.thyrsos-home-card__title a {
    color: inherit;
    text-decoration: none;
}

.thyrsos-home-card__title a:hover,
.thyrsos-home-card__title a:focus {
    color: #8d2f1c;
}

.thyrsos-home-card__excerpt {
    margin: 0;
    color: rgba(34, 20, 14, 0.72);
    line-height: 1.65;
    font-size: 0.96rem;
}

.thyrsos-home-card__button {
    margin-top: auto;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.7rem 2.1rem;
    background: transparent;
    border: 1px solid #8d2f1c;
    color: #8d2f1c;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.thyrsos-home-card__button:hover,
.thyrsos-home-card__button:focus {
    background: #8d2f1c;
    color: #fff;
}

.thyrsos-home-card__button-icon {
    font-size: 0.9rem;
}

.thyrsos-home-sections__notice {
    margin-top: 2rem;
    padding: 1.3rem 1.6rem;
    background: rgba(141, 47, 28, 0.08);
    border-left: 4px solid #8d2f1c;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .thyrsos-home-section {
        padding: 2rem 1.75rem;
    }

    .thyrsos-home-section__title {
        font-size: 1.85rem;
    }
}

@media (min-width: 1201px) {
    .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results {
        padding: 1em;
    }
}

