.se-porto__controls { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; justify-content:center; }
.se-porto__search-wrapper, .se-porto__sort-wrapper { position:relative; display:inline-block; width:100%; }

/* Tablet and desktop adjustments */
@media (min-width: 768px) {
    .se-porto__search-wrapper, .se-porto__sort-wrapper { width:auto; }
}
.se-porto__search, .se-porto__sort { padding:.6rem 1.2rem; border:1px solid #ddd; background:#fff; border-radius:20px; font-size:1rem; }
.se-porto__search { min-width:100%; padding-left:3rem; }
.se-porto__sort { min-width:100%; padding-left:3rem; }

/* Tablet and desktop adjustments */
@media (min-width: 768px) {
    .se-porto__search { min-width:400px; }
    .se-porto__sort { min-width:250px; }
}
.se-porto__search-icon, .se-porto__sort-icon { position:absolute; left:1rem; top:50%; transform:translateY(-50%); z-index:1; pointer-events:none; display:flex; align-items:center; }
.se-porto__search-icon svg, .se-porto__sort-icon svg { width:20px; height:20px; }
.se-porto__chips { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:2rem; justify-content:center; }
.se-porto__chip { padding:.4rem .8rem; border:1px solid #ddd; background:#fff; cursor:pointer; border-radius:20px; font-size:.85rem; transition:all 0.2s ease; }
.se-porto__chip:hover { border-color:#999; background:#f8f8f8; }
.se-porto__chip.is-active { background:#FFCB1D; color:#000; border-color:#FFCB1D; }
.se-porto__grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:16px; }
.se-porto__grid:has(.se-porto__loading), .se-porto__grid:has(.se-porto__empty) { display:flex; justify-content:center; align-items:center; }
.se-porto__card { border:1px solid #e6e6e6; border-radius:10px; overflow:hidden; background:#fff; display:flex; flex-direction:column; height:100%; }
.se-porto__thumb img { display:block; width:100%; height:auto; }
.se-porto__video { position:relative; width:100%; height:0; padding-bottom:56.25%; /* 16:9 aspect ratio */ }
.se-porto__video iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:0; }
.se-porto__body { padding:14px; flex:1; display:flex; flex-direction:column; }
.se-porto__title { 
    margin:0 0 .25rem; 
    color: #212121;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}
.se-porto__subtitle { 
    margin:0 0 .5rem; 
    color: #757575;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.5;
}
.se-porto__description { 
    margin:.5rem 0 1rem; 
    color: #212121;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    text-transform: lowercase;
    line-height:1.4; 
    flex:1; 
}

/* Responsive font sizes */
@media (min-width: 768px) {
    .se-porto__title { font-size: 20px; }
    .se-porto__subtitle { font-size: 16px; }
    .se-porto__description { font-size: 14px; }
}
.se-porto__excerpt { margin:.25rem 0 .5rem; color:#555; }
.se-porto__tags { display:flex; gap:.35rem; flex-wrap:wrap; }
.se-porto__tag { 
    color: #424242;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    border: 0.5px solid #BDBDBD;
    background: #F5F5F5;
    padding: .10rem .65rem;
    border-radius:999px; 
}
.se-porto__pages { display:flex; gap:.25rem; justify-content:center; margin:16px 0; align-items:center; }
.se-porto__page { padding:.4rem .65rem; border:1px solid #ddd; background:#fff; cursor:pointer; border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; }
.se-porto__page.is-active { font-weight:600; background:#FFCB1D; color:#000; border-color:#FFCB1D; }
.se-porto__page[disabled] { opacity:.5; cursor:not-allowed; }
.se-porto__ellipsis { padding:0 .25rem; }
.se-porto.is-loading .se-porto__grid { opacity:.5; }
.se-porto__loading { display:flex; justify-content:center; align-items:center; padding:4rem 2rem; min-height:300px; width:100%; }
.se-porto__loading-spinner { width:40px; height:40px; border:4px solid #f3f3f3; border-top:4px solid #FFCB1D; border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }
.se-porto__empty { text-align:center; padding:4rem 2rem; color:#666; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:300px; }
.se-porto__empty-icon { margin-bottom:1rem; opacity:0.7; }
.se-porto__empty-icon svg { width:48px; height:48px; }

/* Responsive icon sizes */
@media (min-width: 768px) {
    .se-porto__empty-icon svg { width:64px; height:64px; }
}
.se-porto__empty-title { font-size:1.5rem; margin:0 0 0.5rem; color:#333; font-weight:600; }
.se-porto__empty-text { font-size:1rem; margin:0; opacity:0.8; }
