/**
 * ToDo: remove this CSS file and merge into _module.less
 **/
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

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

ol.post-list, 
ol.comment-list  { list-style: none; padding: 0; margin: 0; }

/* General Post Styles */
.post-list li:after { content: ' '; clear: both; display: block; }
.post-entry { margin: 0 0 20px; }
.post-image { margin: 0 0 10px; overflow: hidden; }
.post-image a { display: inline-block; }
.post-list .post-image { max-height: 300px; }
.post-meta { clear: both; margin: 0 0 20px; text-align: left; }
.post-meta .post-meta-item { display: inline-block; margin-right: 10px; }
.post-readmore { margin-top: 10px; }
.post-entry iframe { max-width: 100%; }

/* Comments */
.comment-list-item { margin: 0 0 20px; }
.comment-list.children { margin-top: 20px; padding-left: 30px; }
.comment-image { float: left; margin: 0 10px 10px 0; }
.comment-author { font-weight: bold; display: block; }
.comment-entry { clear: both; margin: 0 0 20px; }

/* Widgets */
.wp-sidebar { position: relative; } /* Fixes Porto issue where sidebar links aren't clickable */
.block-blog .block-title { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #c6c6c6; }
.block-blog .block-title > strong { font-size: 18px; font-weight: 300; }
.block-blog ul, .block-blog ol { list-style: none; margin: 0; padding: 0; }
.block-blog-cloud li { display: inline-block; margin: 0; }
.block-blog-categories ul.level1 { margin-top: 1rem; }

.shortcode-product {}
.shortcode-product .products { text-align: left; list-style: none; }
.shortcode-product .products > li { display: inline-block; width: 24%; text-align: center; }

/* Global Styles */
body {
    font-size: 16px;
    color: #333;
    background-color: #f8f8f8;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.control textarea {
    width: 100%; /* Ensures it adapts to container width */
    max-width: 100%; /* Prevents it from exceeding the screen width */
    box-sizing: border-box; /* Includes padding and border in width calculation */
}


/* Main Blog Content */
.post-view {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Headings */
.wp-block-heading {
    color: #222;
    margin-bottom: 5px;
    font-weight: 700;
}

h2.wp-block-heading {
    font-size: 28px;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 6px;
}

h3.wp-block-heading {
    font-size: 22px;
    color: #444;
    margin-top: 10px;
}

/* Paragraphs */
p {
    margin-bottom: 16px;
}

/* Lists */
.wp-block-list {
    padding-left: 30px;
    margin-bottom: 28px;
    margin-top: 28px;
	list-style-type: disc;
    list-style-position: outside;
    line-height: 1.4; /* Reduce if bullets seem too low */
}

.wp-block-list li {
    margin-bottom: 8px;
}

.wp-block-list li::before {
    content: '\2022';
    color: #444;
    font-weight: bold;
    position: absolute;
    left: -18px;
    top: 2px;
}

/* Blockquotes */
blockquote {
    border-left: 5px solid #444;
    padding: 10px 20px;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Image Styling */
.author-avatar img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Sidebar Wishlist */
.wishlist-widget {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

.wishlist-widget h2 {
    font-size: 20px;
    color: #222;
    border-bottom: 2px solid #444;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.wishlist-widget ul {
    list-style: none;
    padding: 0;
}

.wishlist-widget ul li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.wishlist-widget ul li:last-child {
    border-bottom: none;
}

/* Wishlist Buttons */
.wishlist-widget button {
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Links */
a {
    text-decoration: bold;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .post-view {
        padding: 15px;
    }

    h2.wp-block-heading {
        font-size: 24px;
    }

    h3.wp-block-heading {
        font-size: 20px;
    }

    .wishlist-widget button {
        width: 100%;
    }
}


/* Full-width hero section with refined styling */
/* Full-width hero section with refined styling */
.custom-hero-section {
    position: relative;
    width: 100%;
    height: 300px;
    background-position: 80% 20%;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    padding: 8px;
    text-align: center;
}

.custom-hero-homepage {
    position: relative;
    width: 100%;
    background-position: 80% 20%;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    background-color: #222;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    padding: 8px;
    text-align: center;
}

/* Black overlay */
.custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: 1;
}

/* Ensures content appears above overlay */
.custom-hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 8px;
}

/* Hero title */
.custom-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 1.2rem;
	max-width:900px;
	margin-left:auto;
	margin-right:auto;
	line-height: 3rem;
}

/* Hero title */
.custom-hero-title-homepage {
    font-size: 1.8rem;
    font-weight: bold;
	max-width:900px;
	margin-left:auto;
	margin-right:auto;
	line-height: 3rem;
}

/* Post content container */
.custom-post-container {
    max-width: 1200px;
    background: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
	margin: auto;
	padding: 30px 50px;
}

/* Post content styling */
.custom-post-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.custom-post-text {
    margin-top: 0px;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .custom-hero-section {
        height: 240px;
        font-size: 0.7rem;
        padding: 6px;
    }

    .custom-hero-content {
        max-width: 100%;
        padding: 5px;
    }

    .custom-hero-title {
        font-size: 1.5rem;
		line-height: 1.2;
		margin-top: 0.2rem;
    }

    .custom-hero-title-homepage {
        font-size: 1.5rem;
		line-height: 1.2;
		margin-top: 0.2rem;
    }

    .custom-post-container {
        padding: 15px;
    }

    .custom-post-content {
        font-size: 0.9rem;
    }
}

.wp-block-separator {
    border: none !important;
    border-bottom: 1px solid #cccccc !important;
    margin: 2.5rem auto !important;
    width: 99% !important;
}

/* Author Section */
.author-heading {
    width: 100%;
    margin: 10px auto 0;
    display: flex;
	flex-direction: column; /* Forces items to stack vertically */
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    .author-heading {
        width: 50%;
    }
}

@media (min-width: 990px) {
    .author-heading {
        width: 40%;
    }
}

.author-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.author-avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
}

.author-profile-avatar {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: auto;
}


.author-info {
    text-align: left;
}

.author-info address {
    font-size: 1rem;
    line-height: 1.4;
    color: #white;
    font-style: normal;
    margin: 0;
}

.author-info a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.author-info a:hover {
    text-decoration: underline;
}

.author-image-content:hover {
    color: #f0f0f0; /* Slightly off-white for hover effect */
}

.date-container {
    display: block; /* Ensures it stays on its own line */
    width: 100%; /* Takes full width to force new line */
    text-align: center;
    margin-bottom: 10px; /* Adds spacing between date and author section */
	font-size: 0.7rem;
}

.author-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white !important;
}

.author-byline{
	font-size: 0.7rem;
	max-width:120px
}


/* Ensure the table has a fixed layout - Only affects tables with 'signed-shirts-table' */
.signed-shirts-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures columns stay proportional */
  }
  
  /* Define column widths */
  .signed-shirts-table th:nth-child(1),
  .signed-shirts-table td:nth-child(1) { width: 18%; } /* Tier */
  .signed-shirts-table th:nth-child(2),
  .signed-shirts-table td:nth-child(2) { width: 18%; } /* Price */
  .signed-shirts-table th:nth-child(3),
  .signed-shirts-table td:nth-child(3) { width: 30%; } /* Players */
  .signed-shirts-table th:nth-child(4),
  .signed-shirts-table td:nth-child(4) { width: 34%; } /* Notes */
  
  /* Make table scrollable on mobile */
  @media screen and (max-width: 768px) {
    .signed-shirts-table {
      display: block;
     
    }
  
    .signed-shirts-table table {
      width: 100%; /* Ensures the table stays large enough to scroll */
    }
  
    .signed-shirts-table th, 
    .signed-shirts-table td {
      padding: 10px;
      font-size: 12px; /* Ensures text is readable */
    }
  }
  