#chat-container {
    border: 1px solid #ddd;
    padding: 10px;
    height: 300px; /* Adjust the height as needed */
    overflow-y: scroll; /* Changed from auto to scroll */
}

#chat-messages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#chat-messages li {
    margin-bottom: 10px;
}

/* Adjust font styles */
.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #333;
}

/* Adjust menu styles */
.main-navigation ul ul {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,.1);
}

/* Add hover effects to menu items */
.main-navigation ul ul li a:hover {
    color: #007bff;
}

/* Adjust widget styles */
.widget-title {
    font-weight: 600;
    color: #333;
}

/* Adjust other elements */
.home .entry-meta {
    color: #666;
}

/* Add custom styling for your Blue and Orange theme */
.orange {
    color: #FFC107;
}

.blue {
    color: #007bff;
}

/* Center text on homepage */
.home .entry-content {
    text-align: center;
}

/* Center headings on homepage */
.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    text-align: center;
}

/* Center paragraphs on homepage */
.home p {
    text-align: center;
}

/* Add a border to the homepage */
.home .entry-content {
    padding: 20px;
    border: 1px solid #ccc; /* Replace #ccc with your desired border color */
    border-radius: 10px; /* Optional: add rounded corners to the border */
}

/* Add a border to headings on homepage */
.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    border-bottom: 1px solid #ccc; /* Replace #ccc with your desired border color */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Add a border to paragraphs on homepage */
.home p {
    border-top: 1px solid #ccc; /* Replace #ccc with your desired border color */
    padding-top: 10px;
    margin-top: 20px;
}

/* Add a border around the website page */
body {
    padding: 20px;
    border: 1px solid #ccc; /* Replace #ccc with your desired border color */
    border-radius: 10px; /* Optional: add rounded corners to the border */
}

/* Add a very thick dark blue border around the site */
body {
    padding: 20px;
    border: 8px solid #003080; /* Replace #003080 with your desired border color */
    border-radius: 10px; /* Optional: add rounded corners to the border */
}
.site-footer {
    border: 1px solid #ccc; /* Replace #ccc with your desired border color */
    border-radius: 10px; /* Optional: add rounded corners to the border */
    padding: 10px;
}

/* Adjust header image position and size for mobile devices */
@media only screen and (max-width: 768px) {
    .site-header img.mobile {
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1 !important;
    }

    /* Add the mobile header image class to the header image */
    .site-header img {
        max-width: none !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.gfd-golfer-profile {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.gfd-golfer-header {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: center;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.gfd-golfer-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gfd-golfer-ranking-cards,
.gfd-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.gfd-golfer-ranking-cards > div,
.gfd-stat-card {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f8f8;
}

.gfd-golfer-ranking-cards span,
.gfd-stat-card span {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-size: 13px;
}

.gfd-golfer-ranking-cards strong,
.gfd-stat-card strong {
    font-size: 24px;
}

.gfd-golfer-section {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.gfd-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.gfd-golfer-section table {
    width: 100%;
    border-collapse: collapse;
}

.gfd-golfer-section th,
.gfd-golfer-section td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

@media (max-width: 700px) {
    .gfd-golfer-header {
        grid-template-columns: 1fr;
    }

    .gfd-golfer-photo {
        max-width: 220px;
    }
}

.gfd-comparison-intro {
    margin-bottom: 20px;
    color: #666;
}

.gfd-comparison-grid,
.gfd-rating-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.gfd-comparison-card,
.gfd-rating-card {
    padding: 17px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #f8f8f8;
}

.gfd-comparison-card h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

.gfd-comparison-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gfd-comparison-values span {
    display: block;
    margin-bottom: 4px;
    color: #666;
    font-size: 12px;
}

.gfd-comparison-values strong {
    font-size: 18px;
}

.gfd-stat-delta {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 600;
}

.gfd-stat-delta.is-positive {
    color: #16723a;
}

.gfd-stat-delta.is-negative {
    color: #a52828;
}

.gfd-stat-delta.is-neutral {
    color: #666;
}

.gfd-prediction-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gfd-prediction-heading h2 {
    margin-bottom: 5px;
}

.gfd-prediction-heading p {
    margin: 0;
    color: #666;
}

.gfd-outlook-score {
    min-width: 120px;
    padding: 15px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    text-align: center;
}

.gfd-outlook-score span,
.gfd-outlook-score small {
    display: block;
}

.gfd-outlook-score strong {
    font-size: 36px;
    line-height: 1.1;
}

.gfd-outlook-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #e8f1ff;
    font-weight: 700;
}

.gfd-rating-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.gfd-rating-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #ddd;
}

.gfd-rating-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0073aa;
}

.gfd-performance-read {
    margin-top: 22px;
    padding: 18px;
    border-left: 4px solid #0073aa;
    background: #f4f8fb;
}

.gfd-performance-read h3 {
    margin: 0 0 7px;
}

.gfd-performance-read p {
    margin: 0;
}

.gfd-model-disclaimer {
    margin-top: 18px;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

@media (max-width: 650px) {
    .gfd-prediction-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .gfd-outlook-score {
        width: 100%;
        box-sizing: border-box;
    }

    .gfd-comparison-values {
        grid-template-columns: 1fr;
    }
}

.gfd-recent-form-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.gfd-predictive-outlook {
    border-top: 5px solid #111;
}

.gfd-predictive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.gfd-predictive-header h2 {
    margin-bottom: 5px;
}

.gfd-predictive-header p {
    margin: 0;
    color: #666;
}

.gfd-predictive-score {
    min-width: 130px;
    padding: 16px;
    border-radius: 11px;
    background: #111;
    color: #fff;
    text-align: center;
}

.gfd-predictive-score span,
.gfd-predictive-score small {
    display: block;
}

.gfd-predictive-score strong {
    font-size: 40px;
    line-height: 1;
}

.gfd-predictive-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 8px;
    background: #eef4fb;
}

.gfd-predictive-summary strong {
    font-size: 18px;
}

.gfd-predictive-summary span {
    color: #555;
}

.gfd-predictive-components {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.gfd-prediction-component {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #f8f8f8;
}

.gfd-prediction-component span,
.gfd-prediction-component small {
    display: block;
}

.gfd-prediction-component span {
    color: #555;
    font-size: 13px;
}

.gfd-prediction-component strong {
    display: block;
    margin: 5px 0;
    font-size: 27px;
}

.gfd-prediction-component small {
    color: #777;
}

.gfd-prediction-reasons,
.gfd-prediction-concerns {
    margin-top: 20px;
    padding: 17px;
    border-radius: 8px;
}

.gfd-prediction-reasons {
    border-left: 4px solid #16723a;
    background: #f1f8f3;
}

.gfd-prediction-concerns {
    border-left: 4px solid #a52828;
    background: #fff4f4;
}

.gfd-prediction-reasons h3,
.gfd-prediction-concerns h3 {
    margin-top: 0;
}

.gfd-prediction-reasons ul,
.gfd-prediction-concerns ul {
    margin-bottom: 0;
}

.gfd-prediction-warning {
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 4px solid #d9a400;
    background: #fff9e6;
}

@media (max-width: 650px) {
    .gfd-predictive-header,
    .gfd-predictive-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .gfd-predictive-score {
        width: 100%;
        box-sizing: border-box;
    }
}

.gfd-scoring-rules {
	max-width: 820px;
}

.gfd-scoring-rules h4 {
	margin-top: 24px;
	margin-bottom: 10px;
}

.gfd-scoring-rules ul {
	margin-left: 20px;
}

.gfd-scoring-table {
	width: 100%;
	max-width: 520px;
	border-collapse: collapse;
	margin: 12px 0 24px;
}

.gfd-scoring-table th,
.gfd-scoring-table td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

.gfd-scoring-table thead th {
	background: #f3f3f3;
}

.gfd-scoring-table td:last-child,
.gfd-scoring-table th:last-child {
	text-align: center;
	font-weight: 700;
}

.gfd-tournament-sponsor {
	margin: 4px 0 12px;
	color: #555;
	font-size: 15px;
	line-height: 1.3;
}

.gfd-sponsor-label {
	font-style: italic;
}

.gfd-sponsor-name {
	font-weight: 700;
	color: #222;
}

.gfd-sponsor-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.gfd-sponsor-link:hover,
.gfd-sponsor-link:focus {
	color: #0073aa;
	text-decoration-thickness: 2px;
}

.gfd-tournament-sponsor-tournament-header {
	margin-top: -4px;
	margin-bottom: 16px;
	font-size: 16px;
}

.gfd-tournament-sponsor-draft-room {
	margin-top: -8px;
	margin-bottom: 16px;
	font-size: 15px;
}

.gfd-tournament-sponsor-league-card {
	margin-top: 8px;
	margin-bottom: 14px;
	font-size: 14px;
}

body .tournament-details .gfd-sponsor-banner {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	width: auto !important;
	max-width: 620px !important;
	min-height: 0 !important;
	margin: 18px 0 24px !important;
	padding: 7px 11px !important;
	border-left: 4px solid #222 !important;
	background: #f6f6f6 !important;
	color: #555 !important;
	font-size: 14px !important;
	line-height: 1.25 !important;
}

body .tournament-details .gfd-sponsor-banner-copy {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

body .tournament-details .gfd-sponsor-banner-label {
	font-weight: 600 !important;
}

body .tournament-details .gfd-sponsor-banner-link {
	color: #222 !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
}

body .tournament-details .gfd-sponsor-banner-link:hover,
body .tournament-details .gfd-sponsor-banner-link:focus {
	color: #0073aa !important;
}

body .tournament-details .gfd-sponsor-banner-logo {
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	margin-left: 4px !important;
}

body .tournament-details .gfd-sponsor-banner-logo a {
	display: inline-flex !important;
	align-items: center !important;
}

body .tournament-details .gfd-sponsor-banner-logo-img {
	display: block !important;
	width: auto !important;
	max-width: 80px !important;
	max-height: 24px !important;
	object-fit: contain !important;
	border-radius: 2px !important;
}

body .tournament-details .gfd-sponsor-banner-logo {
	display: none !important;
}

@media (max-width: 600px) {
	body .tournament-details .gfd-sponsor-banner {
		max-width: 100% !important;
	}

	body .tournament-details .gfd-sponsor-banner-copy {
		white-space: normal !important;
	}

	body .tournament-details .gfd-sponsor-banner-logo-img {
		max-width: 70px !important;
		max-height: 22px !important;
	}
}