.fcp-links-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
    
    gap: 20px;
    align-items: flex-start;
}

.fcp-link-item:only-child {
    grid-column: 2 / 2; /* Span all columns if it's the only item */
}

@media (max-width: 900px) {
    .fcp-links-list {
        grid-template-columns: 1fr 1fr; /* Two columns on smaller screens */
    }
    .fcp-link-item:only-child {
        grid-column: 1 / -1; /* Span all columns if it's the only item */
    }
}

@media (max-width: 600px) {
    .fcp-links-list {
        grid-template-columns: 1fr; /* Single column on mobile screens */
    }
}

.fcp-link-item {
	border-radius: 8px;
	background-color: #eeeeee;
	padding: 8px;
	margin-bottom: 15px;
	cursor: pointer;
	/* transition: all .5s ease; */
}




.fcp-link-item:hover {
	background-color: #dedede;
}

.fcp-link-item-clicked {
	overflow: scroll;
    position: absolute;
    z-index: 1000;
    cursor: auto !important;
}

.fcp-qr-code-block {
    text-align: center;
    position: fixed;
    z-index: 10000;
    bottom: 0;
    right: 0;
    margin: 20px;
    background: white;
    padding: 15px 23px;
    border-radius: 20px;
}

.fcp-qr-code-block p {
    margin-bottom: 5px;
}

@media (max-width: 1634px ) {
    .fcp-qr-code-block {
        margin-top: 50px;
        z-index: 0000;
        position: relative;
        background: none;
    }
}

.site.grid-container.container.hfeed {
	border-radius: 20px 20px 0 0 ;
}

#content.site-content {
    padding: 20px;
}
.entry-title {
	text-align: center;
}

.site-info {
	border-radius: 0 0 20px 20px;
}


.fcp-link-heading-row {
	display: flex;
	gap: 8px;
	justify-content: center; /* horizontal */
    align-items: center; /* vertical */
}

.fcp-link-small-thumbnail {
	justify-content: left;
	text-align: left;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 5px
}

.fcp-link-small-thumbnail img {
	width: 100%;
    height: 100%;
    object-fit: cover;  /* Options: cover, contain, fill, scale-down, none */
	object-position: top; /* Center the image */
    display: block;     /* Remove inline gap */
}

.fcp-link-heading-row {
	font-weight: 500;
    font-size: 14px;
}

.fcp-link-heading {
	flex: 3 1 40%; /* large column */
}

.fcp-link-elipsis,
.fcp-link-elipsis:visited,
.fcp-link-elipsis:focus {
	background-color: transparent;
	color: #000000;
	border-radius: 100%;
	padding: 5px 15px;
	font-weight: bold;
}

.fcp-link-elipsis:hover {
	background-color: #cccccc;
	color: #000000;
}

.fcp-link-title,
.fcp-link-location {
	text-align: center;
}

.fcp-link-title .fa-pencil { display: none; }
.fcp-link-title a { text-decoration: none; }
.fcp-link-thumbnail {
    width: 100%;       /* Set desired width */
	height: auto;
    max-height: 250px;      /* Set desired height */
    border: 2px solid #333;
    overflow: hidden;   /* Hide overflow if image is larger */
		margin-bottom: 8px;
  }

.fcp-link-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Options: cover, contain, fill, scale-down, none */
	object-position: top; /* Center the image */
    display: block;     /* Remove inline gap */
  }

.fcp-link-content-loading {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fcp-link-item-clicked {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background-color: #fff;
    padding: 20px !important;
}
.fcp-link-item-clicked:hover {
    background-color: #fff;
}

.fcp-link-full-content {
    text-align: center;
	margin-bottom: 25px;
}

.fcp-item-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    background-color: rgba(0, 0, 0, 0.45); /* Semi-transparent black */
}


.fcp-link-cross:hover,
.modal-share-icon:hover {
	background-color: #cccccc;
	color: #000000;
}

.modal-share-icon,
.modal-share-icon:visited,
.modal-share-icon:focus {
    cursor: pointer;
    height: 100%;
    display: none;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.fcp-link-cross,
.fcp-link-cross:visited,
.fcp-link-cross:focus {
    display: none;
    background-color: transparent;
	color: #000000;
	border-radius: 8px;
	padding: 10px 17px;
	font-weight: bold;
}

.register-button-div {
    text-align: center;
}

.fcp-link-featured-image {
    width: 100%;
    overflow: scroll;
    margin-bottom: 20px;
    background-color: lightgrey;
    padding: 40px;
}

.fcp-link-featured-image img {
    max-width: 250px;
    height: auto;
    width: 100%;
    margin: 0 auto;
    display: block;
}

@media (max-width: 600px) {
    .site-header {
        display: none;
    }
}

.fcp-link-sharing-modal {
    display: none;
    position: fixed;
    z-index: 1111;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    margin: 0 auto;
}

.fcp-link-sharing-content {
    margin: 2em auto;
    max-width: 500px;
    width: 100%;
    background-color: #fff;
    padding: 1em;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.fcp-link-sharing-content h3 {
    text-align: center;
    margin-bottom: 1em;
}

.fcp-link-sharing-close {
    position: absolute;
    right: 1.4em;
    top: 8px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.fcp-link-sharing-options {
    font-size: .9em;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
    overflow: scroll;
    flex-wrap: wrap;
    row-gap: 1em;
}

.fcp-link-sharing-content-inner {
    text-align: center;
    margin-bottom: 1em;
    min-height: 200px;
}

.featured-image-button,
.register-button {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 50px;
}

#share-image-span {
    display: block;
}

.fcp-links-category-title {
    text-align:center;
}

.site-footer {
    margin-bottom: 40px;
}